package com.reguang.common.controller;

import com.reguang.common.utils.ShiroUtils;
import com.reguang.pojo.SysUserDO;

public class BaseController {
	public SysUserDO getUser() {
		return ShiroUtils.getUser();
	}

	public String getUserId() {
		return getUser().getId();
	}

	public String getNickName() {
		return getUser().getNickName();
	}
}
